<div id="body_container">
    <div class="detail_container">
      <div class="detail_box">
        <div class="detail_top_curve">
          <div class="detail_detail_content">
            <div class="welcomezone">
              <div style="margin-bottom:10px;">
                <div class="blueboldheading">
                  <h1>Log in</h1>
                </div>
	<ul class="pink">
	<% if session[:user_id] %>

	<% else %>
		<%= form_for :user do |f| %>
		<% if flash[:error] %>
		<div id="error_explanation">
		<%= flash[:error] %>
		</div>
		<%end%>
		</br></br>
		<%= f.label :username%>
		<center>
		<%= f.text_field :username %>
		</center>
		</br>
		<%= f.label :password%>
		<center>
		<%= f.password_field :password %>
		</center>
		</br>
		</br>
		<center>
		<%= f.submit ' Log in ' %>
		<center>
		<%end%>
		<%= link_to "Forgotten password", '/password' %>
	<% end %>
	</ul>
